{{set . "title" "发生错误"}}
<div class="flex items-center justify-center min-h-[60vh]">
    <div class="bg-white p-8 rounded-md shadow-sm max-w-md w-full text-center">
        <svg xmlns="http://www.w3.org/2000/svg" class="h-16 w-16 text-red-500 mx-auto mb-4" fill="none" viewBox="0 0 24 24" stroke="currentColor">
            <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z" />
        </svg>
        <h1 class="text-2xl font-light text-gray-800 mb-4">发生错误</h1>
        <p class="text-gray-600 mb-6">{{.error}}</p>
        <a href="/" class="inline-block px-4 py-2 bg-blue-500 text-white rounded-md hover:bg-blue-600 transition-colors">返回首页</a>
    </div>
</div>